package com.myidis.response;

import java.util.ArrayList;
import java.util.List;

import com.auxiliary.Inflexion;

public class BBRes {
	
	private List<Inflexion> inflexionList;
	private String result;
	
	public BBRes() {
		this.inflexionList = new ArrayList<Inflexion>();
	}
	
	public void addPeak(String date) {
		this.inflexionList.add(new Inflexion(date, true));
	}
	
	public void addValley(String date) {
		this.inflexionList.add(new Inflexion(date, false));
	}

	public List<Inflexion> getInflexionList() {
		return inflexionList;
	}

	public void setInflexionList(List<Inflexion> inflexionList) {
		this.inflexionList = inflexionList;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}
}
